home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 123 / cdrom123.iso / essenc / extens / imzoom / Image Zoom.xpi / chrome / imagezoom.jar / content / options.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-08-18  |  6.2 KB  |  141 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.       
  4.     Copyright (c) 2004  Jason Adams <jason_nospam@yellowgorilla.net>
  5.       
  6.     This file is part of Image Zoom.
  7.  
  8.     Image Zoom is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     Image Zoom is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with Image Zoom; if not, write to the Free Software
  20.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21.  
  22. ***** END LICENSE BLOCK ***** -->
  23.  
  24. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  25. <?xml-stylesheet href="chrome://imagezoom/content/options.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  27.  
  28. <!DOCTYPE window SYSTEM "chrome://imagezoom/locale/imageZoom.dtd">
  29.  
  30.  
  31. <dialog buttons="accept, cancel"
  32.         id="imagezoom-options-dialog"
  33.         ondialogaccept="imagezoom_saveOptions()"
  34.         onload="imagezoom_initializeOptions()"
  35.         title="&pref.iz.window.label;"
  36.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  37.  
  38.     <script type="application/x-javascript" src="chrome://imagezoom/content/global.js"/>
  39.     <script type="application/x-javascript" src="chrome://imagezoom/content/options.js"/>
  40.  
  41.     <vbox flex="1">
  42.         <groupbox>
  43.         <caption label="&pref.iz.ContextDisplay.label;"/>
  44.           <hbox>
  45.           <vbox>
  46.             <checkbox id="imagezoommmZoomIO" label="&pref.iz.ZoomIO.label;" prefstring="imagezoom.mmZoomIO"/>
  47.             <checkbox id="imagezoommmReset" label="&pref.iz.Reset.label;" prefstring="imagezoom.mmReset"/>
  48.           </vbox>
  49.           <vbox>
  50.             <checkbox id="imagezoommmCustomZoom" label="&pref.iz.CustomZoom.label;" prefstring="imagezoom.mmCustomZoom"/>
  51.             <checkbox id="imagezoommmCustomDim" label="&pref.iz.CustomDim.label;" prefstring="imagezoom.mmCustomDim"/>            
  52.           </vbox>
  53.           <vbox>
  54.             <checkbox id="imagezoommmFitWindow" label="&pref.iz.FitWindow.label;" prefstring="imagezoom.mmFitWindow"/>
  55.             <checkbox id="imagezoommmZoomPcts" hidden="true" label="&pref.iz.ZoomPcts.label;" prefstring="imagezoom.mmZoomPcts"/>            
  56.           </vbox>
  57.           </hbox>
  58.         </groupbox>      
  59.         <groupbox>
  60.         <caption label="&pref.iz.SubMenuDisplay.label;"/>
  61.           <hbox>
  62.           <vbox>
  63.             <checkbox id="imagezoomsmZoomIO" label="&pref.iz.ZoomIO.label;" prefstring="imagezoom.smZoomIO"/>
  64.             <checkbox id="imagezoomsmReset" label="&pref.iz.Reset.label;" prefstring="imagezoom.smReset"/>
  65.           </vbox>
  66.           <vbox>
  67.             <checkbox id="imagezoomsmCustomZoom" label="&pref.iz.CustomZoom.label;" prefstring="imagezoom.smCustomZoom"/>
  68.             <checkbox id="imagezoomsmCustomDim" label="&pref.iz.CustomDim.label;" prefstring="imagezoom.smCustomDim"/>            
  69.           </vbox>
  70.           <vbox>
  71.             <checkbox id="imagezoomsmFitWindow" label="&pref.iz.FitWindow.label;" prefstring="imagezoom.smFitWindow"/>
  72.             <checkbox id="imagezoomsmZoomPcts" label="&pref.iz.ZoomPcts.label;" prefstring="imagezoom.smZoomPcts"/>  
  73.           </vbox>
  74.           </hbox>
  75.         </groupbox>              
  76.         <groupbox align="start">
  77.         <caption label="&pref.iz.mousewheel.label;"/>  
  78.         <grid flex="1">
  79.           <columns>
  80.               <column/>
  81.           </columns>
  82.           <rows>
  83.               <row>
  84.                   <checkbox id="imagezoomusescroll" label="&pref.iz.usescroll.label;" prefstring="imagezoom.usescroll" oncommand="imagezoom_toggleScrollEnabled()"/>  
  85.               </row>
  86.               <row align="center">
  87.               <box align="center" flex="1">
  88.                     <label id="imagezoomscrollvaluelabelbefore" style="width: 130px" value="&pref.iz.defaultscroll.label;" control="imagezoomscrollvalue"/>
  89.                     <menulist id="imagezoomscrollvalue" prefstring="imagezoom.scrollvalue">
  90.                         <menupopup>
  91.                           <menuitem label="100" value="100"/>          
  92.                         <menuitem label="75" value="75"/>          
  93.                         <menuitem label="50" value="50"/>          
  94.                         <menuitem label="25" value="25"/>
  95.                         <menuitem label="10" value="10"/>            
  96.                         <menuitem label="7" value="7"/>                                    
  97.                         <menuitem label="5" value="5"/>            
  98.                         <menuitem label="4" value="4"/>            
  99.                         <menuitem label="3" value="3"/>                                    
  100.                         <menuitem label="2" value="2"/>            
  101.                         <menuitem label="1" value="1"/>
  102.                         </menupopup>
  103.                 </menulist> 
  104.                 <label id="imagezoomscrollvaluelabelafter" value="%"/>  
  105.               </box>
  106.               </row>          
  107.           </rows>
  108.         </grid>
  109.       </groupbox>
  110.         
  111.         <groupbox align="start">
  112.         <caption label="&pref.iz.advanced.label;"/>  
  113.         <grid flex="1">
  114.           <columns>
  115.               <column/>
  116.               <column/>
  117.               <column/>
  118.           </columns>
  119.           <rows>
  120.               <row align="center">
  121.                   <label style="width: 130px" value="&pref.iz.defaultzoom.label;" control="imagezoomzoomvalue"/>
  122.             <menulist id="imagezoomzoomvalue" prefstring="imagezoom.zoomvalue">
  123.                         <menupopup>
  124.                         <menuitem label="400" value="400"/>          
  125.                         <menuitem label="300" value="300"/>          
  126.                         <menuitem label="200" value="200"/>
  127.                         <menuitem label="175" value="175"/>            
  128.                         <menuitem label="150" value="150"/>            
  129.                         <menuitem label="125" value="125"/>            
  130.                         <menuitem label="110" value="110"/>
  131.                         </menupopup>
  132.                 </menulist> 
  133.                 <label value="%"/>  
  134.               </row>
  135.           </rows>
  136.         </grid>
  137.         <checkbox id="imagezoomautocenter" label="&pref.iz.autocenter.label;" prefstring="imagezoom.autocenter"/>  
  138.       </groupbox>
  139.     </vbox>
  140. </dialog>
  141.